package com.baizhi.mapper;

import com.baizhi.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 菜单管理 Mapper 接口
 * </p>
 *
 * @author haiyu
 * @since 2021-09-06
 */
public interface MenuMapper extends BaseMapper<Menu> {
        List<Menu> selectUserMenu();
        public List<Menu> selectPermissionByUsername(String username);
}
